<div ng-include src="'tpl/public/header.html'"></div> 
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">成立公告列表</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>

 <!--   <button type="submit" class="btn btn-primary">查询</button>   -->
      <button class="btn btn-primary" ng-click="allDel();">一键删除</button> 
  </form>
  <div>
  </div>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th><input type="checkbox" name="chkProjectNoticeAll" id="chkProjectNoticeAll" ng-click="chkProjectNoticeAll();" /></th>
        <th width="50" class="cur-p">序列号</th>
        <th width="500">产品成立公告名称</th>
        <th width="80">日期</th>
        <th width="100">信托公司</th>
        <th width="80">审核状态</th>
        <th width="80">发布状态</th>
        <th width="200px">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="productNotice in list">
        <td>
          <input type="checkbox" name="chkProjectNotice" value="{{productNotice.id}}" />
        </td>
        <td>{{productNotice.id}}</td>
        <td><a href="#/productnotice/base?id={{productNotice.id}}" has-auth where="btn" who="PRODUCT_NOTICE_EDIT" owner="{{product.createBy}}">{{productNotice.pName}}</a></td>
        <td>{{productNotice.pTime}}</td>
        <td>{{productNotice.companyName}}</td>
        <td width="80">{{productNotice.status|noticeStatus}}</td>
        <td width="80">{{productNotice.onlineStatus|onlineStatus}}</td>
        <td class="optd">
          <a href="#/productnotice/base?id={{productNotice.id}}" has-auth where="btn" who="PRODUCT_NOTICE_EDIT" owner="{{product.createBy}}">编辑</a>
           <a href="javascript:" ng-click="del(productNotice.id)" has-auth where="btn" who="PRODUCT_NOTICE_EDIT" owner="{{product.createBy}}">删除</a>
        </td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
</div>
